package com.iter.devbox.disruptor;

import com.lmax.disruptor.EventFactory;

/**
 * 消息封装
 */
class MessageEvent {
 
    private byte[] bytes;//存储数据类
    private int length;//数据长度
    private int ID;//消息编号
 
 
    public byte[] getBytes() {
        return bytes;
    }
 
    public void setBytes(byte[] bytes) {
        this.bytes = bytes;
    }
 
    public int getLength() {
        return length;
    }
 
    public void setLength(int length) {
        this.length = length;
    }
 
    public MessageEvent() {
    }
 
 
    public void build() {
 
    }
 
}